package com.yjht.online.generate.impl.org.plat.wkd;

import com.yjht.online.constants.PathConstant;
import com.yjht.online.generate.impl.org.OrgProcessorSqlMould;

public class OrgGenerateProccesorWKd extends OrgProcessorSqlMould {

    String  sqlTemplate = " INSERT INTO `sys_org`( `CORP_CD`, `ORG_CD`, `ORG_RELA_TYPE`, `ORG_NAME`, `ORG_PCD`, `ORG_FLAG`, `ORG_VFLAG`, `ORG_DESC`, `LEVELID`, `CRT_DATE`, `MTN_DATE`, `ORG_ABB`, `WD_ID`, `ORG_TYPE`) VALUES ( '${corpCd}', '${orgCd}', '${orgRelaType}', '${orgName}', '${orgPcd}', '${orgFlag}', '${orgVflag}', '${orgDesc}', '${levelid}', '${crtDate}', '${mtnDate}', '${orgAbb}', '${wdId}', '${orgType}' );";

    @Override
    protected String getSqlTemplate() {
        return sqlTemplate;
    }

    @Override
    protected String getOutPutPath() {
        return PathConstant.WKD_PATH;
    }

    @Override
    protected String getFileName() {
        return "orgInfo.sql";
    }
}
